package vip.bblog.cunadmin.modules.system.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@TableName("tb_wx_user")
@Data
@ApiModel(value = "area实体类")
public class Wxuser implements Serializable {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private long id;
    private String openid;
    private String phone;
    @TableField("nickName")
    private String nickName;
    @TableField("avatarUrl")
    private String avatarUrl;
    private Integer gender;
    private String language;
    private String country;
    private String city;
    private String province;
    @ApiModelProperty(value = "是否VIP 1否 2是")
    @TableField("isVIP")
    private Integer isVIP;
    @ApiModelProperty(value = "注册时间")
    private String ctime;
    @ApiModelProperty(value = "VIP截止时间")
    @TableField("vipEndTime")
    private String vipEndTime;
    private Integer count;

    @TableField(exist = false)
    private int page = 1;
    @TableField(exist = false)
    private int size = 10;

}